
import baseUrl from '@/api/env.js'
export default {
    // 获取订单列表
    getPurchaseOrderListData: baseUrl + '/purchase/pp/order/page/noTenantId',

    // 待采买列表
    findPagePurchaseNoTenantId: baseUrl + '/purchase/pp/order/findPagePurchaseNoTenantId',

    // 已结算订单列表查询
    selectOrderSettlementListNoTenantId: baseUrl + '/purchase/pp/order/selectOrderSettlementListNoTenantId',
    //接单详情
    getConfirmById:(id)=>{
        return baseUrl + '/purchase/pp/order/get/confirm/'+id;
    },
    // 退单
    orderCancel: baseUrl + '/purchase/pp/order/cancelOrderProvider',
    // 接单
    orderReceive: baseUrl + '/purchase/pp/order/receive',

    // 追加查询商品接口
    getStoreData: baseUrl + '/purchase/pp/goods/getProviderStoreData',

    // 保存改单
    change: baseUrl + '/purchase/pp/orderChange/change',
    // 订单改变确认
    orderChangeConfirm: baseUrl + '/purchase/pp/order/changeConfirmProvider',

    // 获取分拣订单列表
    getPurchaseSortingListData: baseUrl + '/purchase/pp/order/page/findOrderSortingPageNoTenantId',

    // 获取配送订单列表
    getPurchaseDistributionListData: baseUrl + '/purchase/pp/order/page/findOrderDistributionPageNoTenantId',

    //开始配送
    startDistribution: baseUrl + '/purchase/pp/order/distribution',
    //结束配送
    finishDistribution: baseUrl + '/purchase/pp/order/distribution/finish',
    //查询退换货列表
    exchangeOrRefund: baseUrl + '/purchase/pp/order/list/exchangeOrRefund',

    //分拣完成
    orderSortingCompleteSave: baseUrl + '/purchase/pp/order/orderSortingCompleteSave',

    //待采买
    purchase: baseUrl + '/purchase/pp/orderGoods/list/purchase',
    //已采买
    purchased: baseUrl + '/purchase/pp/orderGoods/page/purchased',
    //采买
    savePurchase: baseUrl + '/purchase/pp/orderGoods/purchase',
    //订单统计
    getPpOrderStatistics: baseUrl + '/purchase/pp/order/getPpOrderStatistics',

    // 退换货确认
    returnsConfirmProvider: baseUrl + '/purchase/pp/order/returnsConfirmProvider',

}